package com.huilian.iotbox.data.service;

import com.huilian.iotbox.data.po.User;

import java.util.List;

/**
 * @author chenqiwen
 * @CreateDate: 2022-05-17-10-44
 * @Description:
 */
public interface UserCommonService {

    List<User> findAllUserByParentId(Integer userId);

    User getOfficialAccountOpenId(Integer userId);

    List<User> findOfficialOrAppletAccountOpenIdByUserId(Integer userId);

    User findById(Integer id);

    Integer checkUserName(String username, Integer status);
}
